<fieldset>
    <legend>条件搜索</legend>
    <form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get"  autocomplete="off">
        
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">客户编号</label>
            <div class="layui-input-inline">
                <input name="customer_unique" value="{$Think.get.customer_unique|default=''}" placeholder="请输入客户编号" class="layui-input">
            </div>          
        </div>
        <div class="layui-form-item layui-inline">
        	<label class="layui-form-label">公司名称</label>
            <div class="layui-input-inline">
                <input name="company_name" value="{$Think.get.company_name|default=''}" placeholder="请输入公司名称" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">负责人</label>
            <div class="layui-input-inline">
                <select class="layui-select" name="charger">
                    {foreach $charger_op as $k=>$v}
                    {eq name='Think.get.charger' value='$k.""'}
                    <option selected value="{$k}">{$v}</option>
                    {else}
                    <option value="{$k}">{$v}</option>
                    {/eq}
                    {/foreach}
                </select>
            </div>
        </div>
        
        
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">来源渠道</label>
            <div class="layui-input-inline">
                <select class="layui-select" name="source_type">
                    {foreach $source_type_op as $k=>$v}
                    {eq name='Think.get.source_type' value='$k.""'}
                    <option selected value="{$k}">{$v}</option>
                    {else}
                    <option value="{$k}">{$v}</option>
                    {/eq}
                    {/foreach}
                </select>
            </div>
        </div>
        
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">是否成交</label>
            <div class="layui-input-inline">
                <select class="layui-select" name="transaction">
                    {foreach $transaction_op as $k=>$v}
                    {eq name='Think.get.transaction' value='$k.""'}
                    <option selected value="{$k}">{$v}</option>
                    {else}
                    <option value="{$k}">{$v}</option>
                    {/eq}
                    {/foreach}
                </select>
            </div>
        </div>
        
        
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">跟进时间</label>
            <div class="layui-input-inline">
                <input data-date-range name="follow_at" value="{$Think.get.follow_at|default=''}" placeholder="请选择跟进时间" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-input-inline">
                <input data-date-range name="create_at" value="{$Think.get.create_at|default=''}" placeholder="请选择创建时间" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-inline">
            <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
        </div>
        <input type="hidden" name="page" class="page" value="1">
    </form>
</fieldset>

<script>form.render()</script>
